Optimal. Leaf size=60 \[ \frac {6 \sqrt {1-a^2 x^2}}{a}-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-6 x \cos ^{-1}(a x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 60, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4620, 4678, 261} \[ \frac {6 \sqrt {1-a^2 x^2}}{a}-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-6 x \cos ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 261
Rule 4620
Rule 4678
Rubi steps
\begin {align*} \int \cos ^{-1}(a x)^3 \, dx &=x \cos ^{-1}(a x)^3+(3 a) \int \frac {x \cos ^{-1}(a x)^2}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-6 \int \cos ^{-1}(a x) \, dx\\ &=-6 x \cos ^{-1}(a x)-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-(6 a) \int \frac {x}{\sqrt {1-a^2 x^2}} \, dx\\ &=\frac {6 \sqrt {1-a^2 x^2}}{a}-6 x \cos ^{-1}(a x)-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 60, normalized size = 1.00 \[ \frac {6 \sqrt {1-a^2 x^2}}{a}-\frac {3 \sqrt {1-a^2 x^2} \cos ^{-1}(a x)^2}{a}+x \cos ^{-1}(a x)^3-6 x \cos ^{-1}(a x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.60, size = 44, normalized size = 0.73 \[ \frac {a x \arccos \left (a x\right )^{3} - 6 \, a x \arccos \left (a x\right ) - 3 \, \sqrt {-a^{2} x^{2} + 1} {\left (\arccos \left (a x\right )^{2} - 2\right )}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.18, size = 56, normalized size = 0.93 \[ x \arccos \left (a x\right )^{3} - 6 \, x \arccos \left (a x\right ) - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} \arccos \left (a x\right )^{2}}{a} + \frac {6 \, \sqrt {-a^{2} x^{2} + 1}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.07, size = 57, normalized size = 0.95 \[ \frac {a x \arccos \left (a x \right )^{3}-3 \arccos \left (a x \right )^{2} \sqrt {-a^{2} x^{2}+1}+6 \sqrt {-a^{2} x^{2}+1}-6 a x \arccos \left (a x \right )}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.56, size = 59, normalized size = 0.98 \[ x \arccos \left (a x\right )^{3} - \frac {3 \, \sqrt {-a^{2} x^{2} + 1} \arccos \left (a x\right )^{2}}{a} - \frac {6 \, {\left (a x \arccos \left (a x\right ) - \sqrt {-a^{2} x^{2} + 1}\right )}}{a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.31, size = 59, normalized size = 0.98 \[ \left \{\begin {array}{cl} \frac {x\,\pi ^3}{8} & \text {\ if\ \ }a=0\\ -x\,\left (6\,\mathrm {acos}\left (a\,x\right )-{\mathrm {acos}\left (a\,x\right )}^3\right )-\frac {\sqrt {1-a^2\,x^2}\,\left (3\,{\mathrm {acos}\left (a\,x\right )}^2-6\right )}{a} & \text {\ if\ \ }a\neq 0 \end {array}\right . \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.42, size = 60, normalized size = 1.00 \[ \begin {cases} x \operatorname {acos}^{3}{\left (a x \right )} - 6 x \operatorname {acos}{\left (a x \right )} - \frac {3 \sqrt {- a^{2} x^{2} + 1} \operatorname {acos}^{2}{\left (a x \right )}}{a} + \frac {6 \sqrt {- a^{2} x^{2} + 1}}{a} & \text {for}\: a \neq 0 \\\frac {\pi ^{3} x}{8} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________